/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.fanyue.modules.face.entity;

import com.fanyue.core.base.BaseEntity;
import com.mybatisflex.annotation.Table;
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
import com.tangzc.mybatisflex.autotable.annotation.UniIndex;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2022-08-17
 */

@Data
@Getter
@Setter
@Table(value = "wzb_app_user_face", comment = "用户信息")
public class AppUserFace extends BaseEntity<AppUserFace> {
    private static final long serialVersionUID = 1L;

    @UniIndex
    @ColumnDefine(comment = "用户id")
    private Long userId;
    /**
     * searchId
     */
    @ColumnDefine(comment = "搜索id")
    private Integer searchId;
    /**
     * 人脸图片地址
     */
    @ColumnDefine(comment = "人脸图片地址")
    private String faceFilePath;
    /**
     * 人脸特征
     */
    @ColumnDefine(comment = "人脸特征")
    private String feature;
    /**
     * 备注
     */
    @ColumnDefine(comment = "备注")
    private String note;

    /**
     * 人脸图片地址
     */
    // @TableField(exist = false)
    // @ColumnDefine(comment = "人脸图片地址")
    // private String faceUrl;

    /**
     * 是否同步
     */
    @ColumnDefine(comment = "是否同步")
    private Integer isSync;

    /**
     * 是否同步
     */
    @ColumnDefine(comment = "是否同步")
    private Integer status;
}
